main:main.cc util.hpp onlineuser.hpp session.hpp room.hpp logerr.hpp db.hpp  match.hpp serve.hpp
	g++ -g -o $@ $^ -lpthread -L/usr/lib/x86_64-linux-gnu -lmysqlclient -ljsoncpp 
.PHONY:clean
clean:
	rm -rf main